const MyEmitter=require("events");
const myEmitter=new MyEmitter();
myEmitter.on("event_name",function(a,b){
    console.log(a, b, this,this === myEmitter);
});
myEmitter.emit("event_name","a","b");
const myEmitter2=new MyEmitter();
myEmitter2.on("event_name",(a,b)=>{
    console.log(a,b,this);
});
myEmitter2.emit("event_name","a","b");